﻿using Dm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using static System.Runtime.InteropServices.JavaScript.JSType;
using System.Xml.Linq;

namespace B.S.XZYData.Domain.Inventory
{
    public class DetailsModel
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品规格
        /// </summary>
        public string ProductSpecifications { get; set; }
        /// <summary>
        /// 库存单位
        /// </summary>
        public string InventoryUnit { get; set; }
        /// <summary>
        /// 单据数量
        /// </summary>
        public decimal DocumentNum { get; set; }
        /// <summary>
        /// 库存变更数量
        /// </summary>
        public decimal UpdateNum { get; set; }
        /// <summary>
        /// 库存收发时间
        /// </summary>
        public DateTime ReceiveTime { get; set; }
        /// <summary>
        /// 来源单据类型
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 来源单据编号
        /// </summary>
        public string SourceId { get; set; }
        /// <summary>
        /// 库存类型
        /// </summary>
        public string Inventory { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Sotes { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
        /// <summary>
        /// 最后更改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 最小库存
        /// </summary>
        public decimal MinInventory { get; set; }
        /// <summary>
        /// 最大库存
        /// </summary>
        public decimal MaxInventory { get; set; }
        /// <summary>
        /// 安全库存
        /// </summary>
        public decimal SecureInventory { get; set; }
        /// <summary>
        /// 当前库存数量
        /// </summary>
        public decimal Current { get; set; }
}
}
